package edu.zhku.ttms.mapper;

import edu.zhku.ttms.domain.TrafficPoliceman;

import java.util.List;

/**
 * @author 泽
 * @since 2021/4/18 23:18
 */
public interface TrafficPolicemanMapper {

    TrafficPoliceman getById(Long policeId);

    TrafficPoliceman getByCode(String policeCode);

    List<TrafficPoliceman> getList(String str);

    int insertOne(TrafficPoliceman trafficPoliceman);

    int updateOne(TrafficPoliceman trafficPoliceman);

    int removeById(Long policeId);
}
